package org.hcyspartnoc.luoxin.pojo.dto.searchtopic;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@NoArgsConstructor
public class TopicTextDto {

    @NotNull(message = "问题Id不能为空")
    private Integer id;
    @NotBlank(message = "问题内容不能为空")
    private String query;

}
